package com.cn.service.server.Report.Impl;

import com.cn.bean.vo.Report.ItemReport;
import com.cn.mapper.dao.db5.Report.ItemReportDao;
import com.cn.service.server.Report.ItemReportServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemReportServerImpl implements ItemReportServer {
    private final ItemReportDao itemReportDao;

    @Autowired(required = false)
    public ItemReportServerImpl(ItemReportDao itemReportDao) {
        this.itemReportDao = itemReportDao;
    }

    @Override
    public List<ItemReport> selectItemReport(int limit, int page, String name, String materialCode, String supplierUniqueCode, String structureName, String partSingleID,
                                             String consumableCategoryName, String material, String specification, String model, String materialStatus, String circulationState) {
        return itemReportDao.selectItemReport(limit, page,name,materialCode,supplierUniqueCode,structureName,partSingleID,consumableCategoryName,material,specification,model,materialStatus,circulationState);
    }
}
